﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Migraine.MyUC.UCHienThi;

namespace Migraine.MyUC.UCHienThi
{
    public partial class ucHome : UserControl
    {
        public ucHome()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form t = this.ParentForm;
            ucChanBenh chanbenh = new ucChanBenh();
            ControlAcess.ShowConTrol(t, chanbenh, "gbHienthi");

           
           // ControlAcess.ShowConTrol(t, new UCChucNangBenhNhan(), "gbChucNang");
        }
    }
}
